﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopHuabaoAuctionInfo")]
    public class HuabaoAuctionInfo : BaseObject
    {
        //begin
        public HuabaoAuctionInfo()
        {}
        public HuabaoAuctionInfo(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _AuctionId;
        public string AuctionId
        {
            get
            {
                return _AuctionId;
            }
            set
            {
                SetPropertyValue("AuctionId", ref _AuctionId, value);
            }
        }
        private string _PosterId;
        public string PosterId
        {
            get
            {
                return _PosterId;
            }
            set
            {
                SetPropertyValue("PosterId", ref _PosterId, value);
            }
        }
        private string _AuctionTitle;
        public string AuctionTitle
        {
            get
            {
                return _AuctionTitle;
            }
            set
            {
                SetPropertyValue("AuctionTitle", ref _AuctionTitle, value);
            }
        }
        private string _AuctionShortTitle;
        public string AuctionShortTitle
        {
            get
            {
                return _AuctionShortTitle;
            }
            set
            {
                SetPropertyValue("AuctionShortTitle", ref _AuctionShortTitle, value);
            }
        }
        private decimal _AuctionPrice;
        public decimal AuctionPrice
        {
            get
            {
                return _AuctionPrice;
            }
            set
            {
                SetPropertyValue("AuctionPrice", ref _AuctionPrice, value);
            }
        }
        private string _AuctionNote;
        public string AuctionNote
        {
            get
            {
                return _AuctionNote;
            }
            set
            {
                SetPropertyValue("AuctionNote", ref _AuctionNote, value);
            }
        }
        private string _AuctionUrl;
        public string AuctionUrl
        {
            get
            {
                return _AuctionUrl;
            }
            set
            {
                SetPropertyValue("AuctionUrl", ref _AuctionUrl, value);
            }
        }
        private string _PicId;
        public string PicId
        {
            get
            {
                return _PicId;
            }
            set
            {
                SetPropertyValue("PicId", ref _PicId, value);
            }
        }
        private string _AuctionPosition;
        public string AuctionPosition
        {
            get
            {
                return _AuctionPosition;
            }
            set
            {
                SetPropertyValue("AuctionPosition", ref _AuctionPosition, value);
            }
        }
        //end
    }
}
